package org.example.csc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.csc.entity.Admin;

public interface Adminservice extends IService<Admin>
{
    /**
     *
     * @param admin
     * @return
     */
    boolean add(Admin admin);

    /**
     *
     * @param username
     * @param password
     * @return
     */
    boolean login(String username,String password);
}
